package com.lingyue.commons.jwt.domain;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * Created by IntelliJ IDEA.
 *
 * @Description: TODO
 * @Author: BaiJinhua
 * @Date: 2019/11/27 10:37
 * @See: com.lingyue.common.dto
 * @Version: 1.0
 * Copyright: Copyright (c) 2019
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class UserInfo {

    /**
     * 用户编号
     */
    private Integer userId;

    /**
     * 邮箱
     */
    private String email;

    /**
     * 用户等级
     */
    private Integer level;

    /**
     * 用户账号
     */
    private String account;

    /**
     * 用户名
     */
    private String accountName;

    /**
     * 用户DMS_Account
     */
    private String dmsAccount;

    /**
     * 所属经销商
     */
    private String dealerId;

    /**
     * 用户角色
     */
    private List<String> roles;

}
